package com.gupt.youhd.service;/*
@author name
@data 2023/6/20-16:23
*/


import com.gupt.youhd.entity.Address;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AddressService {

    //查询当前用户所有地址信息
    List<Address> getAddress(HttpServletRequest request);

    void updateAddress(HttpServletRequest request,@RequestBody Address address);

    void insertAddress(HttpServletRequest request,@RequestBody Address address);

    void delAddress(int addressId);
}
